
<html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <script type="text/javascript">
        var arr = ["a","b","2","3","str"];
        var result = ("a" in arr);
        var result1 = ("4" in arr);
        var result2 = (4 in arr);
        document.write(result+"<br>");
        document.write(result1+"<br>");
        document.write(result2+"<br>");
    </script>
    </head>
    <body>
    </body>
    </html>